package com.zhixiang.xaec.entity.bpmndemo;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;


/**
 * @author gao
 * @since 2017年1月11日
 */
@Entity
@Table(name = "Workflow_WorkflowConfig")
@Comment("流程审批人配置")
public class WorkflowConfig extends BaseEntity
{
    @Comment("公司Id")
    @Column(length = 100)
    private String companyId;

    @Comment("公司名称")
    @Column(length = 100)
    private String companyName;

    @Comment("部门Id")
    @Column(length = 100)
    private String departmentId;

    @Comment("部门名称")
    @Column(length = 100)
    private String departmentName;

    @Comment("变量名称")
    @Column(length = 100)
    private String variableName;

    @Comment("审核人Id")
    @Column(length = 100)
    private String checkUserId;

    @Comment("审核人名称")
    @Column(length = 100)
    private String checkUserName;

    @Comment("流程Id")
    @Column(length = 100)
    private String workflowKey;

    @Comment("流程名称")
    @Column(length = 100)
    private String workflowName;

    @Comment("任务节点Id")
    @Column(length = 100)
    private String taskId;

    @Comment("任务节点名称")
    @Column(length = 100)
    private String taskName;
    
    @Comment("任务类型：个人任务或组任务（1代表个人，2代表组）")
    @Column(length = 2)
    private String taskType;
    
    @Comment("创建时间")
    private Date createTime;
    
    @Comment("创建人")
    @Column(length = 100)
    private String createUserId;

    public String getVariableName()
    {
        return variableName;
    }

    public void setVariableName(String variableName)
    {
        this.variableName = variableName;
    }

    public String getWorkflowKey()
    {
        return workflowKey;
    }

    public void setWorkflowKey(String workflowKey)
    {
        this.workflowKey = workflowKey;
    }

    public String getWorkflowName()
    {
        return workflowName;
    }

    public void setWorkflowName(String workflowName)
    {
        this.workflowName = workflowName;
    }

    public String getCompanyId()
    {
        return companyId;
    }

    public void setCompanyId(String companyId)
    {
        this.companyId = companyId;
    }

    public String getCompanyName()
    {
        return companyName;
    }

    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getDepartmentId()
    {
        return departmentId;
    }

    public void setDepartmentId(String departmentId)
    {
        this.departmentId = departmentId;
    }

    public String getDepartmentName()
    {
        return departmentName;
    }

    public void setDepartmentName(String departmentName)
    {
        this.departmentName = departmentName;
    }

    public String getTaskId()
    {
        return taskId;
    }

    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskName()
    {
        return taskName;
    }

    public void setTaskName(String taskName)
    {
        this.taskName = taskName;
    }

    public String getCheckUserId()
    {
        return checkUserId;
    }

    public void setCheckUserId(String checkUserId)
    {
        this.checkUserId = checkUserId;
    }

    public String getCheckUserName()
    {
        return checkUserName;
    }

    public void setCheckUserName(String checkUserName)
    {
        this.checkUserName = checkUserName;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }

    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getTaskType()
    {
        return taskType;
    }

    public void setTaskType(String taskType)
    {
        this.taskType = taskType;
    }
    
    

}
